package Controller.StateImpl;

import Controller.State;
import View.MainFrame;

public class NewSaleState implements State {
    private static NewSaleState instance;

    private NewSaleState() {}

    public static NewSaleState getInstance() {
        if (instance == null) {
            instance = new NewSaleState();
        }
        return instance;
    }

    @Override
    public void doAction() {
        MainFrame.getInstance().display();//显示主窗口
    }
}
